package net.wanho.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import net.wanho.mapper.RoleMapper;
import net.wanho.po.Role;
import net.wanho.service.RoleService;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
* @author BGAll
* @description 针对表【role(角色表)】的数据库操作Service实现
* @createDate 2025-07-22 19:11:14
*/
@Service
@RequiredArgsConstructor
public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role>
    implements RoleService{

    @Override
    public List<Role> queryRoleList() {
        return this.baseMapper.selectList(null);
    }
}




